package cn.sumpu.app.coolsk.dao;

import java.util.*;

import cn.sumpu.app.coolsk.domain.Message;
import cn.sumpu.app.coolsk.exception.AppBusinessException;

public interface MessageDao {

	//批量发送站内信
	void addMessages(Map<String,Object> map) throws AppBusinessException;
	//删除站内信
	void delMessage(Map<String,Object> map) throws AppBusinessException;
	//查询站内信
	List<Message> getMessages(Map<String,Object> map) throws AppBusinessException;
	//查询站内信总条数
	Integer getMessageCount(Map<String,Object> map) throws AppBusinessException;
	
}
